<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      libcroco-0.6.13
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;9.&nbsp;General Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="libbytesize.html" title=
          "libbytesize-2.2">Prev</a>
          <p>
            libbytesize-2.2
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libdaemon.html" title=
          "libdaemon-0.14">Next</a>
          <p>
            libdaemon-0.14
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="libcroco" name="libcroco"></a>libcroco-0.6.13
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to libcroco
        </h2>
        <p>
          The <span class="application">libcroco</span> package contains a
          standalone CSS2 parsing and manipulation library.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-0.6.13.tar.xz">
                http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-0.6.13.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-0.6.13.tar.xz">
                ftp://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-0.6.13.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: c80c5a8385011a0260dce6bd0da93dce
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 480 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 10 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.1 SBU (with tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          libcroco Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="glib2.html" title=
          "GLib-2.64.1">GLib-2.64.1</a> and <a class="xref" href=
          "libxml2.html" title="libxml2-2.9.10">libxml2-2.9.10</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/libcroco">http://wiki.linuxfromscratch.org/blfs/wiki/libcroco</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of libcroco
        </h2>
        <p>
          Install <span class="application">libcroco</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr --disable-static &amp;&amp;
make</kbd>
</pre>
        <p>
          To execute the test suite, run <span class="command"><strong>make
          -k test</strong></span>. Some tests fail: searching files in wrong
          location, locale problems (character codes compared to characters),
          float point numbers not properly rounded to the same number of
          places are some of the reasons.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
        <p>
          <code class="option">--enable-gtk-doc</code>: Use this parameter if
          <span class="application">GTK-Doc</span> is installed and you wish
          to rebuild and install the API documentation.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">croco-0.6-config and csslint-0.6</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libcroco-0.6.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/libcroco-0.6 and
              /usr/share/gtk-doc/html/libcroco</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="croco-0.6-config" name=
                    "croco-0.6-config"></a><span class="term"><span class=
                    "command"><strong>croco-0.6-config</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a helper script for building with <code class=
                    "filename">libcroco-0.6.so</code>.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="csslint-0.6" name="csslint-0.6"></a><span class=
                    "term"><span class=
                    "command"><strong>csslint-0.6</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to parse one or more CSS files specified on the
                    command line.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libcroco-0" name="libcroco-0"></a><span class=
                    "term"><code class=
                    "filename">libcroco-0.6.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the API functions for CSS2 parsing and
                    manipulation.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-16 17:15:05 -0600
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="libbytesize.html" title=
          "libbytesize-2.2">Prev</a>
          <p>
            libbytesize-2.2
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libdaemon.html" title=
          "libdaemon-0.14">Next</a>
          <p>
            libdaemon-0.14
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
